package org.atovio.eh.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author AtoVio, Winter Yuan
 */
@RestController()
public class NumberController {

    @PostMapping("/divide")
    public String some(Integer n1, Integer n2){
        int result = n1 / n2;
        return "结果为： " + result;
    }
}
